package com.hxzy.module.admin.api.account.resp;

import com.hxzy.module.admin.api.modules.resp.ModuleResp;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @Author wy
 * @Description 后台用户信息及菜单权限
 * @Date 2024/1/28 11:24
 * @Version 1.0
 */
@Getter
@Setter
@ApiModel(value = "后台用户信息及菜单权限")
public class LoadUserResp {

    @ApiModelProperty("帐号Id")
    private Long id;

    @ApiModelProperty("帐号")
    private String account;

    @ApiModelProperty("账号名称")
    private String name;

    @ApiModelProperty("账号电话")
    private String phone;

    @ApiModelProperty("账号密码")
    private String password;

    @ApiModelProperty("账号密码明文")
    private String pwd;

    @ApiModelProperty("帐号头像")
    private String avatar;

    @ApiModelProperty("角色id")
    private Long roleId;

    @ApiModelProperty("角色名称")
    private String roleName;

    @ApiModelProperty("角色描述")
    private String roleDescription;

     @ApiModelProperty("模块权限")
     private List<ModuleResp> modules;

    @ApiModelProperty("营销通账号")
    private String sub;

    @ApiModelProperty("商户号")
    private Long merchantId;

    @ApiModelProperty("是否root账户")
    private Boolean root;

    @ApiModelProperty("所属门店id")
    private Long storeId;
}
